#include <stdio.h>
#include <stdlib.h>

int main(){
    int n;
    printf("Enter an integer: ");
    scanf("%d",&n);
    printf("Absolute value = %d\n",abs(n));
    int x,y;
    x=rand();
    y=rand();
    div_t result=div(x,y);
    printf("%d/%d = %d...%d\n",x,y,result.quot,result.rem);
    return 0;
}
